<?php

namespace app\api\controller;

use app\common\controller\Api;

/**
 * 基础配置
 */

class System extends Api
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];




    /**
     * 基础配置
     */
    public function config(\app\common\model\SystemModel $SystemModel)
    {
        $data = $SystemModel->getConfigInfo();
        $this->error($data['msg'], $data['data'], $data['code']);
    }

}